<a href="index.php" class="btn btn-primary">首页</a>
<?php
$type_arr=select($link, "xq_type");
foreach($type_arr as $v){
	$typeId=$v['id'];
	$tpName=$v['typename'];
	echo "<a href='type.php?id=$typeId' class='btn btn-primary'>$tpName</a> ";
}
?>
